cmake_minimum_required(VERSION 3.21)

project(glad)

add_library(glad OBJECT)

target_sources(
        glad
        PRIVATE glad.c
        PUBLIC include/glad/glad.h
)

target_include_directories(glad PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")